package ru.spbsu.electromenu.serialization;

import ru.spbsu.electromenu.model.Alert;
import ru.spbsu.electromenu.model.Order;
import ru.spbsu.electromenu.model.Table;

/**
 * Date: 3/23/11
 * Time: 12:08 AM
 *
 * @author Artem Titov
 */
public interface Deserializer {
    Table deserializeTable(String source) throws DeserializationException;

    Alert deserializeAlert(String source) throws DeserializationException;

    Order deserializeOrder(String source) throws DeserializationException;
}
